import Vue from 'vue'
// import axios from 'axios'
export const student = {
  // 学生信息
  stuInfo: params => {
    return Vue.prototype.$get(`/student/info/${params}`)
  },
  supplementList: params => {
    return Vue.prototype.$post('/teacherClient/supplementList', params)
  },
  uncheckedList: params => {
    return Vue.prototype.$post('/teacherClient/uncheckedList', params)
  },
  registerList: params => {
    return Vue.prototype.$post('/teacherClient/registerList', params)
  },
  supplementCheck: params => {
    return Vue.prototype.$post('/teacherClient/supplementCheck', params)
  },
  supplementBack: params => {
    return Vue.prototype.$post('/teacherClient/supplementBack', params)
  },
  studentInfo: params => { // 获取学生信息信息
    return Vue.prototype.$get(`/student/info/${params}`)
  },
  studentBcInfo: params => { // 获取学生信息信息
    return Vue.prototype.$get(`/student/bcInfo/${params}`)
  },
  transferingInfoById: id => {
    return Vue.prototype.$get(`/student/transferingInfo/id/${id}`) //学籍异动详情
  },
  transferingCheck: params => {
    return Vue.prototype.$post(`/teacherClient/transferingCheck`, params) //学籍异动详情
  },
  transferingUncheckList: params => {
    return Vue.prototype.$post(`/teacherClient/transferingUncheckList`, params)
  },
  transferingCheckList: params => {
    return Vue.prototype.$post(`/teacherClient/transferingCheckList`, params)
  },
  studentResume: params => { // 获取学生信息学习简历明细
    return Vue.prototype.$get(`/teacherClient/getResumes/${params}`)
  },
  studentBcResume: params => { // 获取学生信息学习简历明细
    return Vue.prototype.$get(`/teacherClient/getBcResumes/${params}`)
  },
  studentFamily: params => { // 获取学生信息家庭成员明细
    return Vue.prototype.$get(`/teacherClient/getFamillys/${params}`)
  },
  studentBcFamily: params => { // 获取学生信息家庭成员明细
    return Vue.prototype.$get(`/teacherClient/getBcFamillys/${params}`)
  },
  teacherInfo: params => { // 获取教职工信息表明细
    return Vue.prototype.$get(`/teacherClient/getJzgxx/${params}`)
  },
  xsxxList: params => { // 获取学生列表
    return Vue.prototype.$post('/teacherClient/xsxxList', params)
  },
  teacherInfo2: params => {
    return Vue.prototype.$get(`/teacherClient/info`) // 获取学生信息明细
  },
  sendBindCode: params => { //专业实践申请
    return Vue.prototype.$post(`/bind/sendCode`, params)
  },
  bindConfirm: params => { //专业实践申请
    return Vue.prototype.$post(`/bind/confirm`, params)
  },
  bindQrcode: params => { //专业实践申请
    return Vue.prototype.$get('/bind/wechat',params)
  },
  shyjsUncheckList: params => {
    return Vue.prototype.$post('/teacherClient/shyjsUncheckList', params)
  },
  shyjsInfo: id => { // 获取三好研究生
    return Vue.prototype.$get(`/teacherClient/shyjsInfo/${id}`)
  },
  checkShyjs: params => {
    return Vue.prototype.$postJson('/teacherClient/checkShyjs', params)
  },
  //获取项目申报审核
  projectList: params => {
    return Vue.prototype.$post('/admissions/gjhxmsb/gjhxmsb/list/ds',params)
  },
  projectId :id =>{
    return Vue.prototype.$get(`/admissions/gjhxmsb/gjhxmsb/info/${id}`) 
  },
  projectSh: params => {
    return Vue.prototype.$postJson('/admissions/gjhxmsb/gjhxmsb/updateSH', params)
  },
  baseInfo: params =>{
    return Vue.prototype.$post('/admissions/gjhxmsb/gjhxmsb/basic',params)
  },
  //回校报到查看
  reportList: params =>{
    return Vue.prototype.$post('/admissions/gjhxbd/list',params)
  },
  reportDetile :id =>{
    return Vue.prototype.$get(`/admissions/gjhxbd/info/${id}`) 
  },
  //上报信息查看
  gjhxmsbList: params =>{
    return Vue.prototype.$post('/admissions/GjhCfsb/list/ds',params)
  },
  //评教管理
  stuEduList: params =>{
    return Vue.prototype.$post('/teacherClient/kcpjzbXs/list',params)
  },
  teaEduDetail: pkxxId =>{
    return Vue.prototype.$get(`/teacherClient/kcpjzbXs/info/${pkxxId}`)
  },
  teaEduAdvise: pkxxId =>{
    return Vue.prototype.$post(`/teacherClient/kcpjzbXs/pjnlList?pkxxId=` + pkxxId)
  },
  ddEduList: params =>{
    return Vue.prototype.$post('/teacherClient/kcpjzbDd/list',params)
  },
  ddEduDetail: pkxxId =>{
    return Vue.prototype.$get(`/teacherClient/kcpjzbDd/info/${pkxxId}`)
  },
  ddEduAdvise: pkxxId =>{
    return Vue.prototype.$post(`/teacherClient/kcpjzbDd/pjnlList?pkxxId=` + pkxxId)
  },
}
